using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class BsBomchangedetailTable : TableInfo
	{
		public const string C_TABLENAME = "Bs_Bomchangedetail"; 

		public const string C_BOMCHANGEDETAILID = "BOMCHANGEDETAILID";
		public const string C_BOMCHANGEID = "BOMCHANGEID";
		public const string C_BOMDETAILID = "BOMDETAILID";
		public const string C_ISCHECK = "ISCHECK";
		public const string C_ISDIRECT = "ISDIRECT";
		public const string C_MATERIALID = "MATERIALID";
		public const string C_CHANGETYPE = "CHANGETYPE";
		public const string C_NUMS = "NUMS";
		public const string C_REMARK = "REMARK";
				
		public BsBomchangedetailTable()
		{
			_tableName ="Bs_Bomchangedetail";
		}

		protected static BsBomchangedetailTable _current;

		public static BsBomchangedetailTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new BsBomchangedetailTable();

			_current.Add(C_BOMCHANGEDETAILID, new ColumnInfo(C_BOMCHANGEDETAILID, "", true, typeof(Decimal?)));
			_current.Add(C_BOMCHANGEID, new ColumnInfo(C_BOMCHANGEID, "", false, typeof(String)));
			_current.Add(C_BOMDETAILID, new ColumnInfo(C_BOMDETAILID, "", false, typeof(Decimal?)));
			_current.Add(C_ISCHECK, new ColumnInfo(C_ISCHECK, "", false, typeof(String)));
			_current.Add(C_ISDIRECT, new ColumnInfo(C_ISDIRECT, "", false, typeof(String)));
			_current.Add(C_MATERIALID, new ColumnInfo(C_MATERIALID, "", false, typeof(String)));
			_current.Add(C_CHANGETYPE, new ColumnInfo(C_CHANGETYPE, "", false, typeof(String)));
			_current.Add(C_NUMS, new ColumnInfo(C_NUMS, "", false, typeof(Decimal?)));
			_current.Add(C_REMARK, new ColumnInfo(C_REMARK, "", false, typeof(String)));
						
		}

		public ColumnInfo BOMCHANGEDETAILID
		{
			get { return this[C_BOMCHANGEDETAILID];}
		}

		public ColumnInfo BOMCHANGEID
		{
			get { return this[C_BOMCHANGEID];}
		}

		public ColumnInfo BOMDETAILID
		{
			get { return this[C_BOMDETAILID];}
		}

		public ColumnInfo ISCHECK
		{
			get { return this[C_ISCHECK];}
		}

		public ColumnInfo ISDIRECT
		{
			get { return this[C_ISDIRECT];}
		}

		public ColumnInfo MATERIALID
		{
			get { return this[C_MATERIALID];}
		}

		public ColumnInfo CHANGETYPE
		{
			get { return this[C_CHANGETYPE];}
		}

		public ColumnInfo NUMS
		{
			get { return this[C_NUMS];}
		}

		public ColumnInfo REMARK
		{
			get { return this[C_REMARK];}
		}

		
	}
}


